package com.sina.finance.api.framework.dao.rowMapper;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

import com.sina.finance.api.framework.domain.DemoShipItem;

public class DemoShipItemRowMapper implements RowMapper<DemoShipItem> {

	@Override
	public DemoShipItem mapRow(ResultSet rs, int rowNum) throws SQLException {
		DemoShipItem shipItem = new DemoShipItem();  

		shipItem.setItemNumber(rs.getString("ItemNumber"));

        return shipItem;
	}

}
